2026-03-02添加voiceRecord入参,录制格式,支持 "m4a" 或 "mp3",默认为 "m4a":2025-09-18去掉mobile-detect依赖:2025-09-16去掉weixin-ts-sdk依赖:2025-08-22voiceRecord.start: 后台语音录制开启voiceRecord.stop: 后台语音录制结束readpdf.completion: 监听pdf阅读状态2025-08-19visualDetection: 对外暴露visualDetection2025-07-22takePhotos: 拍照2025-05-27addToCalendar: 添加到日历2025-04-24previewFile: 文件预览 - 水印2025-02-08saveToAlbum: 文件存储 - 存储到相册2024-11-05location: 单次定位添加locationMode参数openSuposPage: 打开supOS天坊页面2024-08-09connectUniversalPrinter: 新增连接通用标签打印机接口disconnectUniversalPrinter: 新增断开通用标签打印机接口universalPrint: 新增通用标签打印接口2024-07-23connectExpertByBluetooth: 新增连接expert传感器接口startExpertListening: 新增监听expert传感器数据接口stopExpertListening: 新增停止监听expert传感器数据接口getSystemInfo: 新增返回字段isTablet判断当前设备是否为平板getUserInfo: 新增返回字段staffId2024-06-06startLocationUpdate: 不再支持该接口stopLocationUpdate: 不再支持该接口2023-12-28getAvailableBluetoothDevices: 增加参数属性modepairAndConnectBluetoothDevices: 新增配对型链接蓝牙接口connectAS100ByBluetooth: 新增通过蓝牙连接点检仪接口startAS100Listening: 新增开启点检仪数据监听接口stopAS100Listening: 新增关闭点检仪数据监听接口switchAS100DataType: 新增切换点检仪接收数据接口2023-11-02全局: 修复startBluetoothListening方法传入deviceId参数为空的问题flashlight: 闪光灯open默认值为true2023-09-26employeeSelector: 默认title增加国际化支持departmentSelector: 默认title增加国际化支持2023-09-05startBluetoothListening: 新增开启蓝牙数据监听接口stopBluetoothListening: 新增关闭蓝牙数据监听接口getAvailableBluetoothDevices: 新增获取可被搜索到的蓝牙设备列表接口全局: 修复在非suplink环境调用jssdk接口bridge报错问题2023-07-28startContinuousScan: 增加参数属性position2023-05-10previewImage: 新增预览图片2023-04-28fileConverter: 新增文件转换器playVoiceByText: 新增文字转语音launchBaseMiniProgram:
getSystemInfo: 增加返回数据easyMode、highPerformance、darkMode2023-02-20vibrate: 新增震动startContinuousScan: 增加参数属性vibrategetUserInfo: 增加返回数据suposTenantDnsgetUserInfo: 移除返回数据uuId、supLinkServerId、supLinkUserId、staffId、staffNameIdemployeeSelector: 移除返回数据userRoleList2023-01-10onAppShow: 新增小程序显示事件onAppHide: 新增小程序隐藏事件onAppShow:
onAppHide:
offAppShow:
offAppHide:
2022-12-05setPageOrientation: 调整名称 -> setScreenOrientationonAppShow: 调整参数属性success -> eventHandleronAppHide: 调整参数属性success -> eventHandleroffAppShow: 调整参数属性success -> eventHandleroffAppHide: 调整参数属性success -> eventHandler2022-10-24getUserInfo: 增加返回数据userType2022-10-21upload: 增加参数属性modescanner: 调整参数属性mode -> outputModelaunchApp:
2022-08-29datePicker:
dateRangePicker: 新增日期范围选择器2022-08-26employeeSelector: 适配H5版本2022-08-26employeeSelector: 修复返回数据userId类型描述不正确2022-08-26employeeSelector: 优化导出的类型名称departmentSelector: 优化导出的类型名称2022-08-25getSystemInfo: 修复返回数据deviceId类型描述不正确2022-08-252022-08-22package: 更新simple-git版本3.3.0 -> 3.12.02022-08-22startContinuousScan: 新增开启持续扫码stopContinuousScan: 新增停止持续扫码openUserInfo: 新增打开用户信息页面connectPrinter: 新增连接打印机disconnectPrinter: 新增断开打印机print: 新增打印oncePrint: 新增单次打印getBluetoothPairedDevices: 新增获取蓝牙已配对的设备2022-06-31getEnvInfo: 适配H5版本getSystemInfo: 适配H5版本launchMiniProgram: 适配H5版本getLoginInfo: 适配H5版本getUserInfo: 适配H5版本getStorage: 适配H5版本setStorage: 适配H5版本setNavigationBar: 适配H5版本login: 调整名称 -> getLoginInfo2022-04-25getUserInfo: 增加返回数据suposTenantId2022-04-24setPageOrientation: 新增设置转屏getEnvInfo: 新增获取环境信息2022-04-20getSystemInfo: 增加返回数据suposServerVersion, suplinkServerVersion2022-03-21departmentSelector: 修复返回数据类型描述不正确employeeSelector: 修复返回数据类型描述不正确2022-03-21setStorage: 调整多个参数为单个对象参数getStorage: 调整多个参数为单个对象参数startLocationUpdate: 调整多个参数为单个对象参数scanner: 调整多个参数为单个对象参数onAppShow:
onAppHide:
offAppShow:
offAppHide:
renderfinish: 调整名称 -> renderFinishfilePreview: 调整名称 -> previewFiledepartSelect: 调整名称 -> departmentSelectorpersonnelSelector: 调整名称 -> employeeSelectorgetLocation: 调整参数属性reverseGeo -> inverseEnablednavConfig: